package bom.example.common.excetion;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author X.I.O
 * @title: ResultExcetion
 * @projectName springboot
 * @description: TODO
 * @date 2021/11/28 14:44
 */


@AllArgsConstructor
@NoArgsConstructor
public class ResultExcetion extends Exception {

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
